home *** CD-ROM | disk | FTP | other *** search
-
- MJoin V1.0
- © 1995 by Harald Löffler
-
- PREFACE
-
- The programs and files in this distribution are freely distributable,
- but are also Copyright © Harald Löffler. They may be freely distributed
- as long as no more than a nominal fee is charged to cover time and
- copying costs. No commercial usage is permitted without written permission
- from the author. Everything in this distribution must be kept together, in
- original unmodified form. The only thing I ask for is to send me a mail and
- tell me, what you think about MJoin.
- The above is generally known as mailware.
-
-
-
- 1. Introduction
- ---------------
-
- For all those that frequently have to join files with a similar basename,
- probably splitted by bsplit, split etc., I´ve written this little tool.
- It can do this job in a very easy way.
- Hope ya like it ;-)
-
-
-
- 2. Installation
- ---------------
-
- Just copy MJoin to your C: directory and the doc to your favourite DOC-dir.
- That´s all.
-
-
-
- 3. How to use it
- ----------------
-
- The easiest way is this one: MJoin basename.foo
-
- This will join all files beginning with basename.foo followed by a number.
- Using MJoin this way will join all files from number 0 on until the following
- file doesn´t exist anymore, e.g. You have basename.foo0, basename.foo1 and
- basename.foo3, only the first two files will be joined.
- In other purpose you have to use the various parameters.
-
-
-
- 4. The parameters
- -----------------
-
- The general form is:
-
- MJoin <basename> [FROM start] [UPTO end] [AS newname]
- [NOFRAC|NULL|QUIET|FORCE]
-
- Where FROM means the first number to search for, analogous means UPTO the last
- number to join. If you use the UPTO Parameter MJoin will go on until this number
- is reached, even if some files do not exist. If you want MJoin to stop in that
- case you have to use NOFRAC. This causes MJoin to stop at the first non existing
- file in the row.
-
- With AS you can specify a name for the file that will be created, if not the
- basename (without the number of course) will be used. If the AsName allready
- exists a warning will be displayed and you can use FORCE to overwrite it.
-
- The QUIET option forces MJoin to stop all printouts unless there is something
- wrong with the parameters.
-
- The NULL option is something special. If you use bsplit, you get files in the
- following form: 00 01 02 03 ... 10 11 ... and so on. This files do not have a
- real basename. So if you choose the NULL-Parameter you can join them by giving
- a dummy basename. But you have to specify an AsName for them.
-
-
-
- 5. DISCLAIMER
- -------------
-
- This program is released as is. No warranty on any damage or misfunction.
- Use it or kick it.
-
-
-
- 6. Author, bugs, to do´s, etc.
- -----------------------------
-
- Stuff I want to do in future: Tell me what you want!
-
- I´ve included the source, though you can easily port it to any platform, that
- supports ANSI-C. The only thing you have to do is delete the following lines
-
- #include <exec/types.h> /* BOOL etc. Type-Definitions */
- #include <dos/dos.h> /* Definition of RETURN_FAIL etc. */
-
- and add this ones
-
- #define BOOL int
- #define TRUE (0 == 0) /* Sorry, forgot this in prev. release */
- #define FALSE (0 == 1)
- #define RETURN_OK 0
- #define RETURN_WARN 5
- #define RETURN_ERROR 10
- #define RETURN_FAIL 20
-
-
- If you have found some of this ugly bugs :( , want to make some suggestions :)
- or tell me :-) something else, write to:
-
-
- _/ _/ _/ Harald Loeffler
- _/ _/ _/ Schenkenbergstrasse 12
- _/_/_/_/ _/ 73733 Esslingen / GERMANY
- _/ _/ _/
- _/ _/ _/_/_/_/ e-mail: harry@studbox.uni-stuttgart.de
-
-
- If possible, please use e-mail.
-